libxl: fix usage of XEN_EOPNOTSUPP
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 3 May 2016 10:55:10 +0000 (12:55 +0200)
committerWei Liu <wei.liu2@citrix.com>
Wed, 4 May 2016 15:31:16 +0000 (16:31 +0100)
commita50ea9cb56add9b29e81f85e197b59b9a41114e2
tree2a64200f463fc7e2c08793197c87d449a7d0c49a
parentc1058b29cb1e5997b94ec6418a360d00106f257e
libxl: fix usage of XEN_EOPNOTSUPP

The errno values returned by libxc are already translated into the
underlying OS error space, so it's wrong to compare them against Xen error
codes.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_dom_save.c